﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace Shl01.Models
{
    public class SQLHelper
    {
        public static string GetStr(string path)
        {
            string str = "";
            using (FileStream fs = new FileStream(path, FileMode.Open))
            {
                using(StreamReader sr = new StreamReader(fs))
                {
                    str = sr.ReadToEnd();
                }
            }
            return str;
        }
    }
}
